package com.hxiaoyi.cloud.service;

import com.hxiaoyi.cloud.entities.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * PaymentService
 * @author 黄敬意
 * @date 2022-02-02 14:13
 **/
public interface PaymentService {
    /**
     * 描述
     * @author 黄敬意
     * @date 2022/2/2 13:55
     * @param payment
     * @return int
     **/
    public int create(Payment payment);
    /**
     * 描述
     * @author 黄敬意
     * @date 2022/2/2 13:59
     * @param id
     * @return Payment
     **/
    public Payment getPaymentById(@Param("id") Long id);
}
